<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>优惠券样式</title>
  <style>
        /* 简写了 size repeat*/
        .arc {
          width: 200px;
          height: 80px;
          background:
            radial-gradient(circle at top left, transparent 15px, yellowgreen 0) top left,
            radial-gradient(circle at top right, transparent 15px, yellowgreen 0) top right,
            radial-gradient(circle at bottom right, transparent 15px, yellowgreen 0) bottom right,
            radial-gradient(circle at bottom left, transparent 15px, yellowgreen 0) bottom left;
          background-size: 50% 50%;
          background-repeat: no-repeat;
          margin: 10px auto;
        }

        .grad1 {
          width: 250px;
          height: 100px;
          background:
            radial-gradient(circle at right top, transparent 10px,  #28A4F2 0) top left / 60px 51% no-repeat,
            radial-gradient(circle at right bottom, transparent 10px,  #28A4F2 0) left bottom /60px 51% no-repeat,
            radial-gradient(circle at left top, transparent 10px, #eeeeee 0) top right /190px 51% no-repeat,
            radial-gradient(circle at left bottom, transparent 10px, #eeeeee 0) bottom right /190px 51% no-repeat;
          filter: drop-shadow(3px 3px 3px rgba(0,0,0,.3));
          margin: 10px auto;
        }
        /* 简写了 repeat*/
        .grad11{
          width: 250px;
          height: 100px;
          background:
            radial-gradient(circle at right top, transparent 10px,  #28A4F2 0) top left / 60px 51%,
            radial-gradient(circle at right bottom, transparent 10px,  #28A4F2 0) left bottom /60px 51%,
            radial-gradient(circle at left top, transparent 10px, #eeeeee 0) top right / 190px 51%,
            radial-gradient(circle at left bottom, transparent 10px, #eeeeee 0) bottom right / 190px 51%;
            /*                          圆的位置      圆的颜色   圆的大小 其余部分颜色   背景位置          背景大小(宽 高)    */
          background-repeat: no-repeat;
          filter: drop-shadow(3px 3px 3px rgba(0,0,0,.3));
          margin: 10px auto;
        }

        .grad2 {
          width: 100px;
          height: 120px;
          background:
            radial-gradient(circle at left bottom, transparent 10px, #28A4F2 0) top left /60px 30px no-repeat,
            radial-gradient(circle at right bottom, transparent 10px, #28A4F2 0) top right /60px 30px no-repeat,
            radial-gradient(circle at left top, transparent 10px, #EFEFF4 0) bottom left /60px 90px no-repeat,
            radial-gradient(circle at right top, transparent 10px, #EFEFF4 0) bottom right /60px 90px no-repeat;
          background-repeat: no-repeat;
          filter: drop-shadow(3px 3px 3px rgba(0,0,0,.3));
          margin: 10px auto;
        }


  </style>
</head>
<body>
  <div class="grad1"></div>
  <div class="grad2"></div>

  <div class="arc"></div>
</body>
</html>
